package com.gk.dao;

import com.gk.bean.ZXY_GK_RK_BILL_PRO;
import com.gk.bean.qfdto.InStockBillDto;
import com.gk.bean.qfdto.InStockBillIndexDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface InStockBillDao {
    //获取采购订单中间库数据
    List<String> getZXY_NeedUploadBillCode(String billType);

    //删除采购订单中间表数据
    int deleteZXY_NeedUploadBillCode(String billCode);

    //获取采购订单主表数据
    InStockBillIndexDto getCgBillIndexInfo(String billCode);

    //获取采购订单明细数据
    List<InStockBillDto> getCgBillInfo(String billCode);

    //获取销售退货主表数据
    InStockBillIndexDto getXsBackBillIndexInfo(String billCode);

    //获取销售退货明细数据
    List<InStockBillDto> getXsBackBillInfo(String billCode);

    //TODO  回传,<入库回传调用存储过程>
    void ZXY_GK_RK_BILL_PRO(ZXY_GK_RK_BILL_PRO zxy_gk_rk_bill_pro);
}
